@import "color";


@font-face {
  font-family: 'Roboto-Light';
  src: url(../fonts/Roboto-Light.ttf) format('truetype');
}

@font-face {
  font-family: 'Marvel-Bold';
  src: url(../fonts/Marvel-Bold.ttf) format('truetype');
}

@font-face {
  font-family: 'Marvel-Regular';
  src: url(../fonts/Marvel-Regular.ttf) format('truetype');
}

body {
  background-color: #c6c6c6;
  font-family: 'Roboto-Light';

  .container {
    background-color: white;
    min-height: 925px;
    padding-bottom: 20px;
    max-width: unset!important;
    padding-left: 0;
    padding-right: 0;

    .body-box {
      max-width: 1400px;
      margin: 0 auto;
      border: 1px solid #ddd;
      height: 100%;
      border-radius: 5px;
      margin-top: 15px;
      font-size: 15px;

      .index-box {


        &:first-child{
          padding-top: 20px;
        }

        padding: 0 20px 20px 20px;
        display: flex;
        justify-content: space-between;

        h4{
          font-weight: bold;
        }

        a {
          color: black;

          &:hover {
            text-decoration: none;
          }
        }

        .index-left {
          width: 60%;
          text-align: justify;

          h4{
            padding: 5px 10px;
            background-color: #008BA4;
            color: white;
            border-radius: 5px;
          }

          .left-box {
            display: flex;
            justify-content: center;


            .img-box-portals {
              width: 650px;
              height: 150px;
              border-radius: 5px;
              border: 1px solid #ddd;
              margin: 10px;

              display: flex;
              align-items: center;
              justify-content: center;

              &:hover {
                border-color: black;
                cursor: pointer;
              }

              h5{
                font-weight: bold;
                padding: 0 10px;
              }

              i {
                font-size: 40px;
                color: $mainColor;
              }

              .portals-box{
                height: 120px;
              }

              .img {
                height: 120px;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 5px;

                img {
                  width: 140px;
                }
              }


              p {
                font-size: 16px;
                margin-bottom: 0;
                padding: 0 10px;
              }

              .nums {
                font-size: 13px;
                margin-bottom: 10px;
                color: #555;
              }

            }

            .img-box {
              width: 150px;
              height: 150px;
              border-radius: 5px;
              border: 1px solid #ddd;
              margin: 10px;
              text-align: center;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;


              &:hover {
                border-color: black;
                cursor: pointer;
              }
              i {
                font-size: 40px;
                color: $mainColor;
              }

              .img {
                height: 80px;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                  width: 80%;
                }
              }


              p {
                font-size: 20px;
                margin-bottom: 0;
              }

              .nums {
                font-size: 13px;
                margin-bottom: 10px;
                color: #555;
              }

            }
          }

        }

        .index-right {
          width: 35%;

          .index-img {
            width: 100%;
          }
        }

      }

      .page-box {
        padding: 20px;

        .sub-title {
          width: 100%;
          margin: 0;

          .col-sm-12 {
            border-bottom: 2px solid $mainColor;
          }

          .page-heading {
            color: #343a40;
            font-weight: bold;

            a {
              color: $hoverColor;
            }

          }
        }

        .main-body {
          margin-top: 20px;

          .nav {
            .nav-item {
              .active {
                color: $fontColor;
              }

              a {
                color: $hoverColor;

                &:hover {
                  color: $mainColor;
                }
              }
            }
          }

          .tab-content {
            margin-top: 10px
          }

          .download {
            li {
              padding: 5px;
              font-size: 18px;
            }
          }

          .table {
            white-space: nowrap;

            a {
              color: $hoverColor;
            }
          }
        }

      }

      .page-link {
        color: #343A40;
      }

      .page-item.active .page-link {
        color: #fff;
        background-color: $mainColor;
        border-color: white;
      }
    }

  }

  .index-img {
    width: 100%;
    text-align: justify;
    display: flex;
    justify-content: center;

    .img-box {
      width: 250px;
      height: 250px;
      border-radius: 5px;
      border: 1px solid #ddd;
      margin: 10px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;


      &:hover {
        border-color: black;
        cursor: pointer;
      }


      .img {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;


        img {
          /*  width: 140px;*/
          height: 200px;
        }
      }

      p {
        font-size: 20px;
        margin-bottom: 0;
      }

      .nums {
        font-size: 13px;
        margin-bottom: 10px;
        color: #555;
      }


    }

  }

  .egCrics {
    color: $mainColor;
  }

  .my-checkbox {
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
  }

  .my-form {
   // margin: 20px;
    margin-top: 20px;

    .my-position {
      display: flex;

      .my-position-title {
        font-weight: bold;
        text-align: right;
        padding-right: 10px;
        line-height: 32px;
      }
    }
  }



  .my-check-label {
    cursor: pointer;
    margin-right: 10px;

  }

  .my-btn {
    color: white;
    background-color: $mainColor;

    &:hover {
      color: white;

      background-color: $hoverColor;
    }
  }

  .result {
    display: none;
  }

  .help-block{
    color: red;
    display: block;
  }

  .monospace{
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  }

  footer {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 300;
    color: black;
    text-align: center;
 //   line-height: 45px
  }

  pre {
    max-height: 300px;
    display: block;
    padding: 10px;
    margin: 10px 0 10px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
  }
}